﻿using System;

namespace Codemo.Core.Deployment
{
    /// <summary>
    /// 
    /// </summary>
    public class DeploymentTarget
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DeploymentTarget"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="host">The host.</param>
        /// <param name="directory">The directory.</param>
        public DeploymentTarget(string name, string host, string directory)
        {
            if (name == null) throw new ArgumentNullException("name");
            if (host == null) throw new ArgumentNullException("host");
            if (directory == null) throw new ArgumentNullException("directory");

            Name = name;
            Host = host;
            Directory = directory;
        }

        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the host.
        /// </summary>
        /// <value>The host.</value>
        public string Host { get; set; }

        /// <summary>
        /// Gets or sets the directory.
        /// </summary>
        /// <value>The directory.</value>
        public string Directory { get; set; }
    }
}